package cn.scut.srp.model;

public class BaseResponse<T> {
    private T message;

    private Object data;
    private Integer code;

    public BaseResponse(T message, Object data, Integer code) {
        this.data = data;
        this.message = message;
        this.code = code;
    }

    public T getMessage() {
        return message;
    }

    public void setMessage(T message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
